package com.ruoyi.lock.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 入库单对象 a_inbound
 * 
 * @author ruoyi
 * @date 2024-03-15
 */
@Data
public class AInbound extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 入库单ID */
    private Long iId;

    /** 产品型号 */
    @Excel(name = "产品型号")
    private String description;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productsName;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 入库数量 */
    @Excel(name = "入库数量")
    private Long quantity;

    /** 剩余数量 */
    @Excel(name = "剩余数量")
    private Long residueNum;

    /** 入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inboundTime;

    /** 设备所属的部门或组织单位ID */
    private Long deptId;
    private String deptName;

    //出库时间
    private Date outboundTime;
    //出库状态
    private Long outboundType;
    //设备id
    private String mac;


}
